<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="text/javascript">

    /*
    * 解构  street 和 prices 的第二个元素
    * */
    var sth = {
        orderId: '123456',
        address: {city: 'HZ', street: 'XIHU'},
        prices: [10, 20, 30]
    }

    let {address: {street}, prices: [_, b]} = sth;

    console.log(street, b); // XIHU 20


</script>

</html>
